package com.qf.springMybatisRandomUser.dao;

import com.qf.springMybatisRandomUser.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.awt.print.Book;
import java.util.List;

@Component
public interface UserDao {
    List<User> selectPage(@Param("start") Integer start, @Param("pageSize") Integer pageSize);

    Integer insert(@Param("users") List<User> users);
}
